function h = showstat( bitmap )
% h = showstat( bitmap ) - performs statistical analysis of bitmap, abd
% displays it opn the plot.

% analyze
[mx,my,sx,sy] = statanalyze( bitmap );

% draw
showlumin( bitmap*0.99 );

hold on;

% plot center
plot( my, mx, '+b' );

% plot outline
sx = sx*3;
sy = sy*3;
outline = [ my-sy mx-sx ; my+sy mx-sx; my+sy mx+sx; my-sy mx+sx; my-sy mx-sx ];

plot( outline(:,1), outline(:,2), 'g')

hold off;